package com.fulihui.wgj.facade.request.wx48;

import com.fulihui.common.request.rpc.AbstractServiceRequest;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * 发送48小时图文消息请求-暂用于定时
 *
 * @author wang_wx
 * @date 2018-07-20
 */
@Getter
@Setter
public class Wx48NewsSendRequest extends AbstractServiceRequest {

    /**
     * 公众号-用于发送条件 服务会从log中取
     */
    @NotBlank(message = "appId不能为空")
    private String appId;

    /**
     * 人群条件
     */
    private Wx48NewsCrowdRequest wx48NewsCrowdRequest;

    /**
     * 记录id
     */
    @NotNull(message = "记录id不能为空")
    private Long recordId;

    /**
     * 图文ID
     */
    @NotNull(message = "图文ID不能为空")
    private Long newId;
}